.hero-banner {
  margin-top: 70px;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  height: 500px;
}

.banner-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* 导航箭头 */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333333;
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.banner-nav:hover {
  background: #555555;
  transform: translateY(-50%) scale(1.1);
}

.banner-nav.prev {
  left: 20px;
}

.banner-nav.next {
  right: 20px;
}

/* Ant Design Carousel dots 样式覆盖 */
.ant-carousel .ant-carousel-dots {
  bottom: 20px;
}

.ant-carousel .ant-carousel-dots li button {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.ant-carousel .ant-carousel-dots li.ant-carousel-dot-active button {
  background: white;
}

/* 加载状态 */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F3F3;
}

.loading-spinner {
  text-align: center;
}

.loading-spinner p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* 错误状态 */
.error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
}

.error-message {
  text-align: center;
  color: #dc2626;
}

.error-message p {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 400px;
  }

  .banner-slide {
    height: 400px;
  }

  .banner-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333333;
    line-height: 1;
  }

  .banner-nav.prev {
    left: 10px;
  }

  .banner-nav.next {
    right: 10px;
  }

  .ant-carousel .ant-carousel-dots {
    bottom: 15px;
  }
}
